package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(desc = "矿山-玩家攻击表", tableName = "t_c_ck_kuang_log_battle_attack",autoSave = true,uploadCk = true,isCross = true)
public class LogKuangBattleAttack extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "周次id",isIndex = true)
    private int weekId;

    @FieldTypeAnnotation(desc = "分组id",isIndex = true)
    private int groupId;

    @FieldTypeAnnotation(desc = "宗门id")
    private int campId;

    @FieldTypeAnnotation(desc = "轮次")
    private int round;

    @FieldTypeAnnotation(desc = "用户id,攻击者",isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "被击杀玩家id,死者")
    private long targetUserId;


    @FieldTypeAnnotation(desc = "获得n击杀战绩")
    private long killScore;

    @FieldTypeAnnotation(desc = "击杀时间")
    private Date killTime;

    public LogKuangBattleAttack(int weekId, int groupId, int campId, int round, long userId, long targetUserId, long killScore, Date killTime) {
        this.weekId = weekId;
        this.groupId = groupId;
        this.campId = campId;
        this.round = round;
        this.userId = userId;
        this.targetUserId = targetUserId;
        this.killScore = killScore;
        this.killTime = killTime;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public long getKillScore() {
        return killScore;
    }

    public void setKillScore(long killScore) {
        this.killScore = killScore;
    }

    public Date getKillTime() {
        return killTime;
    }

    public void setKillTime(Date killTime) {
        this.killTime = killTime;
    }
}
